<?php
/**
 * Side Box Template
 *
 * @package templateSystem
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: tpl_search_header.php 4142 2006-08-15 04:32:54Z drbyte $
 */

  $content = "";
  $content .= '<div class="ui-widget-content ui-corner-all" style="margin-top: 2px">';
  $content .= zen_draw_form('quick_find_header', zen_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false), 'get', 'onsubmit="if(jQuery.trim(this.keyword.value)==\'\'){return false;}"');

  $content .= zen_draw_input_field('keyword', '', 'size="6" maxlength="30" style="margin:2px; padding: 2px; border: none; width: 100px; font-style: italic" value="' . HEADER_SEARCH_DEFAULT_TEXT . '" onfocus="this.style.fontStyle=\'normal\' ; if (this.value == this.defaultValue){ this.value = \'\'; }" onblur="if (jQuery.trim(this.value) == \'\'){ this.value = this.defaultValue; this.style.fontStyle=\'italic\'; }"') . '';

  $content .= zen_draw_hidden_field('main_page',FILENAME_ADVANCED_SEARCH_RESULT);
  $content .= zen_draw_hidden_field('search_in_description', '1') . zen_hide_session_id();

  $content .= "</form></div>";
